#ifndef _RESSOURCE_H
#define _RESSOURCE_H

#include <iostream>

class Ressource{


	public :
		Ressource( int bois, int nourriture, int metal);
		int getBois() const;
        int getNourriture() const;
        int getMetal() const;
	private :
		int bois;
		int nourriture;
		int metal;
};

Ressource operator+(Ressource const& a, Ressource const& b);
Ressource operator-(Ressource const& a, Ressource const& b);
bool operator>=(Ressource const& a, Ressource const& b);
bool operator>(Ressource const& a, Ressource const& b);
bool operator<=(Ressource const& a, Ressource const& b);
bool operator<(Ressource const& a, Ressource const& b);
std::ostream& operator<<( std::ostream &flux, Ressource const& r );
#endif
